package com.eaoa.uc.account.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.eaoa.base.EABaseAction;
import com.eaoa.uc.account.bo.AccountModifyBO;
import com.eaoa.uc.account.form.AccountForm;

public class AccountModifyAction extends EABaseAction {

	protected ActionForward doWork(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {

		AccountForm aform = (AccountForm) form;

		AccountModifyBO bo = new AccountModifyBO(aform.getVo());
		bo.execute();

		return mapping.findForward("success");

	}
}